module IssuesHelper
  def trans_issue_state_to_chs(string)
    case string
    when "submitted"
      "未分配"
    when "assigned"
      "打开"
    when "resolved"
      "待测试"
    when "finished"
      "已关闭"
    when "reopen"
      "重新开启"
    when "suspend"
      "挂起"
    end
  end

end
